#coding:utf-8
# print "tetst".replace("tet", "testestete")

def loadTargetFile(filename):
	test_set = set()
	f = open(filename, "r")
	for i in f.readlines():
		test_set.add(i.replace("\n",""))
	f.close()
	return test_set


def loadTargetFile2(filename):
	test_set = set()
	with open(filename, "r") as f:
		for i in f.readlines:
			test_set.add(i.replace("\n",""))

	return test_set